<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@page import="com.yaodian100.ec.supplierapply.entity.NewSupplierApply"%>
<%@page import="java.util.List"%>
<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c-rt"%>
<%@page import="com.yaodian100.core.common.utils.ServerValue"%>
<c-rt:set var="frontContextPath" value='<%=ServerValue.getFrontContextPath()%>'/>
<c-rt:set var="supplierUrl" value='http://supplier.yaodian100.com/simplified_version'/>
<link rel="stylesheet" type="text/css" title="Style" href="${supplierUrl}/yaodian100.css"> 
 <link rel="stylesheet" href="/css/jquery-ui-1.7.2.custom.css" type="text/css" media="screen" />   
 <!--地址选单 -->
<script type="text/javascript" charset="UTF-8" src="/js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" charset="UTF-8" src="/genJS/yaodian_zipcode.js"></script>
<script type="text/javascript" charset="UTF-8" src="/js/jquery.cascade.ext.js"></script>
<script type="text/javascript" charset="UTF-8" src="/js/jquery.cascade.js"></script>
<script type="text/javascript" charset="UTF-8" src="/js/jquery.templating.js"></script>
<script src="${supplierUrl}/js_source/AC_RunActiveContent.js" type="text/javascript"></script> 

<style type="text/css">
.emptymsg{font-size: 15px;color:#D02D6E}
</style>

<table width="950" border="0" align="center" cellpadding="0" cellspacing="0"> 
  <tr> 
    <td align="center"><script type="text/javascript"> 
		AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','950','height','345','src','${supplierUrl}/swf/main_show','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','${supplierUrl}/swf/main_show','wmode', 'transparent','menu','0'); //end AC code
		</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="950" height="345">
      <param name="movie" value="${supplierUrl}/swf/main_show.swf">
      <param name="quality" value="high">
      <param name="wmode" value="transparent">
      <param name="menu" value="0">
      <embed src="${supplierUrl}/swf/main_show.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="950" height="345"></embed>
    </object></noscript> 
	  <table width="100%" height="20" border="0" cellpadding="0" cellspacing="0" background="${supplierUrl}/catch/page_usepic_001.jpg"> 
	    <tr> 
	      <td>&nbsp;</td> 
	    </tr>
	  </table> 
  	<br> 
	  <table width="890" height="56" border="0" cellpadding="0" cellspacing="0" > 
	    <tr> 
	      <td width="155" valign="bottom"><a href="http://supplier.yaodian100.com/" target="_blank"></a></td> 
	      <td align="right" valign="bottom" background="${supplierUrl}/images/page_pic01_001.jpg" style="padding-right: 11px;"><a href="${supplierUrl}/yaodian100.html"><img src="${supplierUrl}/images/function_item004.gif" width="114" height="30" border="0" onMouseOver="javascript: this.src='${supplierUrl}/images/function_item004_f2.gif'" onMouseOut="javascript: this.src='${supplierUrl}/images/function_item004.gif'"></a><img src="${supplierUrl}/catch/1_alpha_point.gif" width="2" height="1"><a href="${supplierUrl}/qanda.html"><img src="${supplierUrl}/images/function_item005.gif" width="114" height="30" border="0" onMouseOver="javascript: this.src='${supplierUrl}/images/function_item005_f2.gif'" onMouseOut="javascript: this.src='${supplierUrl}/images/function_item005.gif'"></a><img src="${supplierUrl}/catch/1_alpha_point.gif" width="2" height="1"><a href="http://www.yaodian100.com/" target="_blank"><img src="${supplierUrl}/images/function_item006.gif" width="114" height="30" border="0" onMouseOver="javascript: this.src='${supplierUrl}/images/function_item006_f2.gif'" onMouseOut="javascript: this.src='${supplierUrl}/images/function_item006.gif'"></a></td> 
	    </tr> 
	  </table> 
	  <table width="890" border="0" cellpadding="0" cellspacing="0" bgcolor="#F34071"> 
	    <tr> 
	      <td><img src="${supplierUrl}/catch/1_alpha_point.gif" width="1" height="7"></td> 
	    </tr> 
	  </table> 
    <br> 
    <br> 
    <table width="890" border="0" cellpadding="0" cellspacing="0"> 
      <tr> 
        <td><img src="${supplierUrl}/images/contact/page01_pic01_001.jpg" width="438" height="37"></td> 
      </tr> 
    </table> 
    <br> 
    <br> 
	 <table width="890" border="0" cellpadding="0" cellspacing="0"> 
      <tr> 
        <td width="94">&nbsp;</td> 
        <td class="contact_wo001"><img src="${supplierUrl}/images/contact/page01_pic01_002.jpg" width="188" height="92"><img src="${supplierUrl}/images/contact/page01_pic01_003.jpg" width="72" height="38" align="absmiddle"><img src="${supplierUrl}/images/contact/page01_pic01_004.jpg" width="188" height="92"><img src="${supplierUrl}/images/contact/page01_pic01_003.jpg" width="72" height="38" align="absmiddle"><img src="${supplierUrl}/images/contact/page01_pic01_005.jpg" width="188" height="92"><br> 
          <br> 
          <span style="padding-left: 25px;"><span class="contact_wo002">耀点100</span> 诚挚的欢迎您的加入，以下是您送交的详细数据，一周内我们将有专人与您联系!!</span><br/><br/> </td> 
      </tr> 
    </table> 

<c:if test="${!empty newsupplierapply}">
<table  width="750" border="0" cellpadding="0" cellspacing="0" class="contact_bg001" style="padding-left:60px;">
	<tr><td colspan="2" height="80px"></td></tr>
	<tr><td colspan="2" ><img src="${supplierUrl}/images/contact/page01_pic01_008.gif" width="11" height="10" align="absmiddle"><span class="contact_wo002">公司基本资料</span><br><br></td> </tr>
	<tr>
		<td class="contact_wo003" width="22%">公 司 名 称</td>
		<td class="contact_wo003">${newsupplierapply.companyName}</td>
	</tr>
	<tr>
		<td class="contact_wo003">营业执照号</td>
		<td class="contact_wo003">${newsupplierapply.companyNum}</td>
	</tr>
	
	<tr>
		<td class="contact_wo003">负责人姓名</td>
		<td class="contact_wo003">${newsupplierapply.ownerName}</td>
	</tr>
	<tr>
		<td class="contact_wo003">公 司 人 数</td>
		<td class="contact_wo003">${newsupplierapply.companyemployee}</td>
	</tr>
	<tr>
		<td class="contact_wo003">公司资本额</td>
		<td class="contact_wo003">${newsupplierapply.companycapital}${!empty newsupplierapply.companycapital? '万元' : ''}</td>
	</tr>
	<tr>
		<td class="contact_wo003">成 立 时 间</td>
		<td class="contact_wo003"> ${newsupplierapply.companyesttime}</td>
		
	</tr>
	<tr>
		<td class="contact_wo003">纳税人/发票性质</td>
		<td class="contact_wo003">${menuTaxInvoice.options[newsupplierapply.taxInvoice].name}</td>
	</tr>
	<tr>
		<td class="contact_wo003">公 司 电 话</td>
		<td class="contact_wo003">${newsupplierapply.companyPhone}</td>
	</tr>
	<tr>
		<td class="contact_wo003">公 司 传 真</td>
		<td class="contact_wo003">${newsupplierapply.companyFax}</td>
	</tr>
	<tr>
		<td class="contact_wo003">公 司 地 址</td>
		<td  class="contact_wo003">${newsupplierapply.companyZip}  ${newsupplierapply.companyProvince}${newsupplierapply.companyCity}${newsupplierapply.companyArea}${newsupplierapply.companyAddress}</td>
	</tr>
	<tr>
		<td class="contact_wo003">公 司 网 址</td>
		<td class="contact_wo003">${newsupplierapply.companywebsite}</td>
	</tr>
	
	<tr>
		<td class="contact_wo003">公 司 简 述</td>
		<td class="contact_wo003"><pre>${newsupplierapply.companyabout}</pre></td>
	</tr>
 
	<tr><td colspan="2" height="20"><img src="${supplierUrl}/images/contact/page01_pic01_007.gif" width="621" height="1"><br></td></tr>
	<tr><td colspan="2"><img src="${supplierUrl}/images/contact/page01_pic01_008.gif" width="11" height="10" align="absmiddle">
		<span class="contact_wo002">申请资料</span><br><br> 
    	</td> 
    </tr>
	<tr>
		<td class="contact_wo003">联络人姓名</td>
		<td class="contact_wo003" >${newsupplierapply.contactName}</td>
	</tr>
	<tr>
		<td class="contact_wo003">联络人电话</td>
		<td class="contact_wo003">${newsupplierapply.contactPhone}</td>
	</tr>
	

	<tr>
		<td class="contact_wo003"  >联络人传真</td>
		<td class="contact_wo003">${newsupplierapply.contactFax}</td>
	</tr>
	<tr>
		<td class="contact_wo003">联络人地址</td>
		<td class="contact_wo003">${newsupplierapply.contactAddress}</td>
	</tr>
	<tr>
		<td class="contact_wo003">联络人Email</td>
		<td class="contact_wo003">${newsupplierapply.contactEmail}</td>
	</tr>
	<tr>
		<td class="contact_wo003">最推荐商品</td>
		<td class="contact_wo003"  width="78%" ><div style="word-break:break-all;width:100%">${newsupplierapply.recommendproduct}</div></td>
	</tr>	
	<tr>
		<td class="contact_wo003">档 案 明 细</td>
		<td class="contact_wo003"><c-rt:forEach items="${nasphotoList}" var="photos">
				档案名称:${photos.filename} - 档案说明:${photos.filedecription}<br />
			</c-rt:forEach>
		</td>
		<div style="color:red">
			<s:actionerror />
		</div>
	</tr>
	<tr>
		<td class="contact_wo003">最希望上架类别</td>
		<td class="contact_wo003">
		<c-rt:forEach items="${rootCategories }" var="root">
				<c-rt:if test="${root.id ==newsupplierapply.category}">
					${root.aliasName}
				</c-rt:if>
			</c-rt:forEach>
		</td>
	</tr>
	<tr>
		<td class="contact_wo003">附选上架类别</td>
		<td class="contact_wo003">
			<c-rt:forEach items="${rootCategories }" var="root">
				<c-rt:if test="${root.id ==newsupplierapply.categoryother1}">
					${root.aliasName}
				</c-rt:if>
			</c-rt:forEach> <br/>
			<c-rt:forEach items="${rootCategories }" var="root">
				<c-rt:if test="${root.id ==newsupplierapply.categoryother2}">
					${root.aliasName}
				</c-rt:if>
			</c-rt:forEach>
		</td>
	</tr>
	<tr>
		<td class="contact_wo003">其 它 说 明</td>
		<td class="contact_wo003"  width="78%" ><div style="word-break:break-all;width:100%">${newsupplierapply.note}</div></td>

	</tr>
	<tr>
	 	
		<td colspan="2" align="center"  style="padding-top:15px;"><a href="http://www.yaodian100.com/info/yaodian100_under.html?hpp=IFtOther"><img src="${supplierUrl}/images/yaodian100/function_item004.gif" width="108" height="26" border="0" onMouseOver="javascript: this.src='${supplierUrl}/images/yaodian100/function_item004_f2.gif'" onMouseOut="javascript: this.src='${supplierUrl}/images/yaodian100/function_item004.gif'"></a></td>
	</tr>
</table>
</c:if>
<c:if test="${empty newsupplierapply}">
<br/>
<span class="emptymsg">不好意思，您填写的资料送交失败</span><br/>
<span class="emptymsg">您可以选择重新填写或直接与我们各线的负责人联络！</span>
<br/>
<br/>
<a href="${frontContextPath}/newSupplierApply/add.do" id="readd" class="btn-mid">重新填写</a>   <a href="http://www.yaodian100.com/info/yaodian100_under.html?hpp=IFtOther" id="contrant" class="btn-mid">联络负责人</a>

</c:if>

	
          <table width="690" border="0" cellpadding="0" cellspacing="0"> 
            <tr> 
            <br/>
            <br/>
              <td align="right" class="contact_wo005"><span class="contact_wo007">耀点100</span> 感谢您的填写  我们将依照您的联络信息尽速回复您!!　<a href="#"><img src="${supplierUrl}/images/function_item007.gif" width="49" height="19" align="absmiddle" border="0" onMouseOver="javascript: this.src='${supplierUrl}/images/function_item007_f2.gif'" onMouseOut="javascript: this.src='${supplierUrl}/images/function_item007.gif'"></a></td> 
            </tr> 
          </table> 
	    <br> 
	    <br> 
		    <table width="770" border="0" cellpadding="0" cellspacing="0"> 
		      <tr> 
		        <td align="right"><img src="${supplierUrl}/images/page_pic01_002.gif" width="295" height="36"></td> 
		      </tr> 
		    </table>


    	</td>
    </tr>
</table>
<table width="950" border="0" align="center" cellpadding="0" cellspacing="0"> 
  <tr> 
    <td bgcolor="#F9AABE"><img src="${supplierUrl}/catch/1_alpha_point.gif" width="1" height="7"></td> 
  </tr> 
  <tr> 
    <td><img src="${supplierUrl}/catch/1_alpha_point.gif" width="1" height="4"></td> 
  </tr> 
  <tr> 
    <td height="49" valign="top" background="${supplierUrl}/catch/page_usepic_002.gif">
    
	    <table width="867" height="35" border="0" cellpadding="0" cellspacing="0"> 
	      <tr> 
	      
	        <td width="644" align="right" valign="bottom" class="copy_wo001"><strong>耀点100版权所有</strong> Copyright© Yaodian100.com  All Rights Reserved.</td> 
	        <td align="right" valign="bottom" class="copy_wo001"><strong>‧<a href="${supplierUrl}/copyright.html">版权宣言</a>‧</strong></td> 
	      </tr> 
	    </table>
    </td> 
</table>
